<form class="form-horizontal form-bordered" data-parsley-validate="true" id="add_saleModal_form">
  <div class="form-group">
      <label class="control-label col-md-2 col-sm-2" for="cSaleTitle">标题 * :</label>
      <div class="col-md-10 col-sm-10">
          <input class="form-control" type="text" id="cSaleTitle" name="cSaleTitle" placeholder="必填" data-parsley-required="true" />
      </div>
  </div>
    <div class="form-group">
        <label class="control-label col-md-2 col-sm-2" for="cSaleDesc">描述 * :</label>
        <div class="col-md-10 col-sm-10">
            <input class="form-control" type="text" id="cSaleDesc" name="cSaleDesc" placeholder="必填" data-parsley-required="true" />
        </div>
    </div>
  <div class="form-group">
      <label class="control-label col-md-2 col-sm-2">时间 * :</label>
      <div class="col-md-2 col-sm-2  p-r-5"  for="cSaleTime">
          <select class="form-control" id="cSaleTime" name="cSaleTime" onchange="selectSaleType()">
              <option value="1">按日</option>
              <option value="2">按周</option>
              <option value="3">按月</option>
              <option value="4">按小时</option>
              <option value="5">按时间</option>
          </select>
      </div>
      <div id="day">
          <label class="control-label width-20 pull-left" >第</label>
          <div class="col-md-1 col-sm-1 p-l-5 p-r-5">
            <input class="form-control" type="text" id="daynum" name="daynum" value="1" placeholder="必填" />
          </div>
          <label class="control-label width-20 pull-left">天</label>
          <div class="col-md-3 col-sm-3 p-l-5 p-r-5">
            <div class="input-group date" id="dateDay">
               <input type="text" class="form-control" disabled id="daytime" name="daytime"   placeholder="必填" />
               <span class="input-group-addon">
                     <span class="glyphicon glyphicon-time"></span>
                 </span>
            </div>
          </div>
      </div>
      <div id="week" style="display: none">
          <label class="control-label width-20 pull-left" >第</label>
          <div class="col-md-1 col-sm-1 p-l-5 p-r-5">
            <input class="form-control" type="text" id="weeknum" name="weeknum" value="1" placeholder="必填" />
          </div>
          <label class="control-label width-50 pull-left text-left">周的</label>
          <div class="col-md-2 col-sm-2 p-l-5 p-r-5">
             <select class="form-control" id="weekDay" name="weekDay">
                  <option value="1">星期一</option>
                  <option value="2">星期二</option>
                  <option value="3">星期三</option>
                  <option value="4">星期四</option>
                  <option value="5">星期五</option>
                  <option value="6">星期六</option>
                  <option value="7">星期日</option>
             </select>
          </div>
          <div class="col-md-3 col-sm-3 p-l-5 p-r-5">
             <div class="input-group date" id="dateWeek">
                 <input type="text" class="form-control" disabled id="weektime" name="weektime"   placeholder="必填" />
                 <span class="input-group-addon">
                       <span class="glyphicon glyphicon-time"></span>
                   </span>
             </div>
          </div>
      </div>
      <div id="month" style="display: none">
        <label class="control-label width-20 pull-left" >第</label>
        <div class="col-md-1 col-sm-1 p-l-5 p-r-5">
          <input class="form-control" type="text" id="monthnum" name="monthnum" value="1" placeholder="" />
        </div>
        <label class="control-label width-50 pull-left text-left">月的第</label>
        <div class="col-md-1 col-sm-1 p-l-5 p-r-5">
           <input class="form-control" type="text" id="monthDay" name="monthDay"  value="1" placeholder="" />
        </div>
        <label class="control-label width-20 pull-left text-left">天</label>
        <div class="col-md-3 col-sm-3 p-l-5 p-r-5">
            <div class="input-group date" id="dateMonth">
                <input type="text" class="form-control" disabled id="monthtime" name="monthtime"   placeholder="必填" />
                <span class="input-group-addon">
                      <span class="glyphicon glyphicon-time"></span>
                  </span>
            </div>
        </div>
      </div>
      <div id="hour" style="display: none">
          <label class="control-label width-20 pull-left" >第</label>
          <div class="col-md-2 col-sm-2 p-l-5 p-r-5">
            <input class="form-control" type="text" id="hournum" name="hournum" value="1" placeholder="必填" />
          </div>
          <label class="control-label width-50 pull-left text-left">个小时</label>
       </div>
      <div id="time" style="display: none">
        <div class="col-md-4 col-sm-4 p-l-5 p-r-5">
          <div class="input-group date" id="datetime">
            <input type="text" class="form-control" disabled id="timenum" name="timenum" placeholder="必填" />
            <span class="input-group-addon">
                  <span class="glyphicon glyphicon-time"></span>
              </span>
          </div>
        </div>
      </div>
  </div>
  <div class="form-group">
      <label class="control-label col-md-2 col-sm-2" for="">类型 :</label>
      <div class="col-md-10 col-sm-10" for="cSaleQtype">
        <select class="form-control" id="cSaleQtype" name="cSaleQtype">
            <option value="1">定时提醒</option>
        </select>
      </div>
  </div>
  <div class="form-group">
      <label class="control-label col-md-2 col-sm-2" for="cSaleContent">内容 :</label>
      <div class="col-md-10 col-sm-10">
          <textarea class="form-control" rows="9" type="text" id="cSaleContent" name="cSaleContent" placeholder="必填" data-parsley-required="true" />
      </div>
  </div>
</form>
<button class="btn btn-sm btn-danger pull-right m-t-40" onclick="saveModalDetail();">保存</button>
<script data-th-src="@{customer/saleHelp/option/person_form.js}"></script>